<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>

    function f1() {
        var aaa=1;
        f(aaa);
    }
    function f(aaa) {
        console.log(aaa);
    }
    f1();
</script>
</body>
</html>